From c6f6f8f895e68f2d85ca681997ef613d982bac14 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 20 Oct 2023 14:06:48 +0200
Subject: refactor(components): rewrite NavList component

* extract NavItem from NavList
* remove `kind` and `listClassName` props (since the consumer has
control over NavList, NavItem and NavLink components these props are
obsolete)
---
 src/pages/projets/[slug].tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/projets/[slug].tsx')

diff --git a/src/pages/projets/[slug].tsx b/src/pages/projets/[slug].tsx
index 17be961..d397d27 100644
--- a/src/pages/projets/[slug].tsx
+++ b/src/pages/projets/[slug].tsx
@@ -140,7 +140,7 @@ const components: MDXComponents = {
   h5: H5,
   h6: H6,
   Image: BorderedImage,
-  li: ListItem,
+  li: ({ ref, ...props }) => <ListItem {...props} />,
   Link,
   ol: OrderedList,
   ul: UnorderedList,
-- 
cgit v1.2.3

